import request from '@/utils/request'

// 查询员工数据导入列表
export function listEmployeeImportRecord(query) {
  return request({
    url: '/ehr/employeeImportRecord/list',
    method: 'get',
    params: query
  })
}

// 查询员工数据导入详细
export function getEmployeeImportRecord(importId) {
  return request({
    url: '/ehr/employeeImportRecord/' + importId,
    method: 'get'
  })
}

// 新增员工数据导入
export function addEmployeeImportRecord(data) {
  return request({
    url: '/ehr/employeeImportRecord',
    method: 'post',
    data: data
  })
}

// 修改员工数据导入
export function updateEmployeeImportRecord(data) {
  return request({
    url: '/ehr/employeeImportRecord',
    method: 'put',
    data: data
  })
}

// 删除员工数据导入
export function delEmployeeImportRecord(importId) {
  return request({
    url: '/ehr/employeeImportRecord/' + importId,
    method: 'delete'
  })
}

